<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="generator" content="ApiGen 2.8.0" />

	<title>Function cml_show_flags</title>

	<script type="text/javascript" src="resources/combined.js?2354491673"></script>
	<script type="text/javascript" src="elementlist.js?4270564774"></script>
	<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />

</head>

<body>
<div id="left">
	<div id="menu">
		<a href="index.html" title="Overview"><span>Overview</span></a>


		<div id="groups">
		</div>



		<div id="elements">
			<h3>Classes</h3>
			<ul>
				<li><a href="class-CMLLanguage.html">CMLLanguage</a></li>
				<li><a href="class-CMLPost.html">CMLPost</a></li>
				<li><a href="class-CMLTranslations.html">CMLTranslations</a></li>
				<li><a href="class-CMLUtils.html">CMLUtils</a></li>
			</ul>





			<h3>Functions</h3>
			<ul>
				<li><a href="function-cml_dropdown_langs.html">cml_dropdown_langs</a></li>
				<li><a href="function-cml_get_browser_lang.html">cml_get_browser_lang</a></li>
				<li><a href="function-cml_get_menu.html">cml_get_menu</a></li>
				<li><a href="function-cml_get_notice.html">cml_get_notice</a></li>
				<li><a href="function-cml_get_the_link.html">cml_get_the_link</a></li>
				<li><a href="function-cml_is_homepage.html">cml_is_homepage</a></li>
				<li class="active"><a href="function-cml_show_flags.html">cml_show_flags</a></li>
			</ul>
		</div>
	</div>
</div>

<div id="splitter"></div>

<div id="right">
<div id="rightInner">
	<form id="search">
		<input type="hidden" name="cx" value="" />
		<input type="hidden" name="ie" value="UTF-8" />
		<input type="text" name="q" class="text" />
		<input type="submit" value="Search" />
	</form>

	<div id="navigation">
		<ul>
			<li>
				<a href="index.html" title="Overview"><span>Overview</span></a>
			</li>
			<li class="active">
<span>Function</span>			</li>
		</ul>
		<ul>
			<li>
				<a href="tree.html" title="Tree view of classes, interfaces, traits and exceptions"><span>Tree</span></a>
			</li>
		</ul>
		<ul>
		</ul>
	</div>

<div id="content" class="function">
	<h1>Function cml_show_flags</h1>


	<div class="description">
	
<p>Return flag &lt;ul&gt;&lt;li&gt;....&lt;/li&gt;&lt;/ul&gt; list</p>

	</div>

	<div class="info">
		
		
		<b>Located at</b> <a href="source-function-cml_show_flags.html#441-552" title="Go to source code">utils.php</a><br />
	</div>


	<table class="summary" id="parameters">
	<caption>Parameters summary</caption>
	<tr id="$args">
		<td class="name"><code>array</code></td>
		<td class="value"><code><var>$args</var></code></td>
		<td>
			 is parameters list:
<ul>
	<li>show ( string ) - choose what to display:<br />
	<i>default: text</i></li>

	<li>text: show only language name</li>

	<li>slug: show language slug</li>

	<li>none: show no text</li>

	<li>show_flag ( boolean ) - show flag?<br />
	<i>default: true</i></li>

	<li>size ( string ) - flag size<br />
	you can use constants:<br />
	CML_FLAG_TINY ( 16x11 )<br />
	CML_FLAG_SMALL ( 32x23 )<br />
	<i>default: CML_FLAG_TINY</i>
		<ul>
			<li>tiny</li>

			<li>small</li>
		</ul>
	</li>

	<li>class_name ( string ) - secondary classname to assign to the list
	<i>default: ""</i> generated &gt;ul&lt; list has primary class "cml_flags", with
	that parameter you can assign a secondary one.</li>

	<li>echo ( boolean ) - If true print list, otherwise return string containing
	generated list<br />
	<i>default: true</i></li>

	<li>linked ( boolean ) - If true flags link to current translation, false will
	link to homepage<br />
	<i>default: true</i></li>

	<li>only_existings ( boolean ) - show only flags in which current page
	exists.<br />
	<i>default: false</i></li>

	<li>queried ( boolean ) - use queried object instead of get_the_ID() or other
	methods, so output will be generated in according to main query, not current
	one. <i>default: false</i></li>

	<li></li>
</ul>

		</td>
	</tr>
	</table>



</div>

	<div id="footer">
		 API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
	</div>
</div>
</div>
</body>
</html>
